curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/hosting/{id}/revoke-cancellation \
--header 'Authorization: Bearer <token>'{
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_name": "<string>",
"domain": "<string>",
"plan": {
"name": "<string>",
"slug": "<string>",
"group": {
"name": "<string>",
"slug": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name_en": "<string>",
"name_fr": "<string>",
"headline": "<string>",
"headline_en": "<string>",
"headline_fr": "<string>",
"tagline": "<string>",
"tagline_en": "<string>",
"tagline_fr": "<string>",
"display_order": 2147483647,
"is_active": true
},
"pricing": [
{
"billing_cycle": "monthly",
"price": "<string>",
"discount_percent": "<string>",
"is_default": true
}
],
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name_en": "<string>",
"name_fr": "<string>",
"description": "<string>",
"description_en": "<string>",
"description_fr": "<string>",
"hosting_type": "hostingaccount",
"disk_space_mb": 2147483647,
"bandwidth_mb": 2147483647,
"max_email_accounts": 2147483647,
"max_databases": 2147483647,
"max_subdomains": 2147483647,
"max_addon_domains": 2147483647,
"max_parked_domains": 2147483647,
"max_ftp_accounts": 2147483647,
"max_accounts": 2147483647,
"is_active": true
},
"server": {
"name": "<string>",
"hostname": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ns1": "<string>",
"ns2": "<string>",
"is_active": true
},
"website_preview": {
"url": "<string>",
"http_status": 123,
"page_title": "<string>",
"meta_description": "<string>",
"favicon_url": "<string>",
"thumbnail_url": "<string>",
"ssl_status": "valid",
"ssl_issuer": "<string>",
"ssl_issued_at": "2023-11-07T05:31:56Z",
"ssl_expires_at": "2023-11-07T05:31:56Z",
"last_check_at": "2023-11-07T05:31:56Z",
"last_successful_check_at": "2023-11-07T05:31:56Z",
"error_message": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"status": "pending",
"disk_usage_mb": 2147483647,
"disk_limit_mb": 2147483647,
"bandwidth_usage_mb": 2147483647,
"bandwidth_limit_mb": 2147483647,
"dedicated_ip": "<string>",
"ns1": "<string>",
"ns2": "<string>",
"billing_cycle": "free",
"next_billing_date": "2023-11-07T05:31:56Z",
"suspension_reason": "insufficient_balance",
"cancellation_requested_at": "2023-11-07T05:31:56Z",
"is_active": true
}Revoke a pending cancellation request for a web hosting account.
curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/hosting/{id}/revoke-cancellation \
--header 'Authorization: Bearer <token>'{
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_name": "<string>",
"domain": "<string>",
"plan": {
"name": "<string>",
"slug": "<string>",
"group": {
"name": "<string>",
"slug": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name_en": "<string>",
"name_fr": "<string>",
"headline": "<string>",
"headline_en": "<string>",
"headline_fr": "<string>",
"tagline": "<string>",
"tagline_en": "<string>",
"tagline_fr": "<string>",
"display_order": 2147483647,
"is_active": true
},
"pricing": [
{
"billing_cycle": "monthly",
"price": "<string>",
"discount_percent": "<string>",
"is_default": true
}
],
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name_en": "<string>",
"name_fr": "<string>",
"description": "<string>",
"description_en": "<string>",
"description_fr": "<string>",
"hosting_type": "hostingaccount",
"disk_space_mb": 2147483647,
"bandwidth_mb": 2147483647,
"max_email_accounts": 2147483647,
"max_databases": 2147483647,
"max_subdomains": 2147483647,
"max_addon_domains": 2147483647,
"max_parked_domains": 2147483647,
"max_ftp_accounts": 2147483647,
"max_accounts": 2147483647,
"is_active": true
},
"server": {
"name": "<string>",
"hostname": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ns1": "<string>",
"ns2": "<string>",
"is_active": true
},
"website_preview": {
"url": "<string>",
"http_status": 123,
"page_title": "<string>",
"meta_description": "<string>",
"favicon_url": "<string>",
"thumbnail_url": "<string>",
"ssl_status": "valid",
"ssl_issuer": "<string>",
"ssl_issued_at": "2023-11-07T05:31:56Z",
"ssl_expires_at": "2023-11-07T05:31:56Z",
"last_check_at": "2023-11-07T05:31:56Z",
"last_successful_check_at": "2023-11-07T05:31:56Z",
"error_message": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"status": "pending",
"disk_usage_mb": 2147483647,
"disk_limit_mb": 2147483647,
"bandwidth_usage_mb": 2147483647,
"bandwidth_limit_mb": 2147483647,
"dedicated_ip": "<string>",
"ns1": "<string>",
"ns2": "<string>",
"billing_cycle": "free",
"next_billing_date": "2023-11-07T05:31:56Z",
"suspension_reason": "insufficient_balance",
"cancellation_requested_at": "2023-11-07T05:31:56Z",
"is_active": true
}Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Web hosting unique identifier
Organization unique identifier
Project unique identifier
Cancellation revoked successfully
Primary domain
255Show child attributes
Show child attributes
Show child attributes
cPanel username
50pending - Pendingactive - Activesuspended - Suspendedterminated - Terminatedcancelled - Cancelledfailed - Failedpending, active, suspended, terminated, cancelled, failed Current disk usage in MB
0 <= x <= 4294967295Disk limit in MB
0 <= x <= 4294967295Current bandwidth usage in MB
0 <= x <= 4294967295Bandwidth limit in MB
0 <= x <= 4294967295Dedicated IP if assigned
Primary nameserver
255Secondary nameserver
255free - Freeone_time - One Timemonthly - Monthlyquarterly - Quarterlysemi_annually - Semi-Annuallyannually - Annuallybiennially - Bienniallytriennially - Trienniallyfree, one_time, monthly, quarterly, semi_annually, annually, biennially, triennially Reason for suspension
insufficient_balance - Insufficient Balancepayment_failed - Payment Failedcard_expired - Card Expiredmanual - Manual Suspensioninsufficient_balance, payment_failed, card_expired, manual, When cancellation was requested